/*
 * TypeFilter.java
 * 
 * @version 1.0, April 27, 2011
 * CS 2340 Team 10: Cyberdyne Systems
 */
package edu.gatech.oad.cyberdoc.domain.filter;

import edu.gatech.oad.cyberdoc.domain.User;

/**
 * Defines the requirements for a filter in our pipe-and-filter system.
 * 
 * @author John Girata
 * @version 1.0, April 27, 2011
 */
public interface Filter {

	/**
	 * Determines if the provided user passes the Filter's test.
	 * 
	 * @param user
	 *            The user to test
	 * @return true if the user passes, or false otherwise
	 */
	boolean accept(User user);
}
